package com.privatetime.model;

import java.util.Date;
import java.util.Set;

public class User extends BaseModel {

	private String userName;
	private String passWord;
	private Date registDate;
	private Set<Card> cardSet;
	private Set<Group> groupSet;

	public User() {
	}

	public User(String userName, String passWord) {
		this.userName = userName;
		this.passWord = passWord;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassWord() {
		return passWord;
	}

	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}

	public Date getRegistDate() {
		return registDate;
	}

	public void setRegistDate(Date registDate) {
		this.registDate = registDate;
	}

	public Set<Card> getCardSet() {
		return cardSet;
	}

	public void setCardSet(Set<Card> cardSet) {
		this.cardSet = cardSet;
	}

	public Set<Group> getGroupSet() {
		return groupSet;
	}

	public void setGroupSet(Set<Group> groupSet) {
		this.groupSet = groupSet;
	}

	@Override
	public String toString() {
		return "User [passWord=" + passWord + ", registDate=" + registDate
				+ ", userName=" + userName + "]";
	}

}
